<?php $action = request()->route()->getAction(); ?>
 <?php $member = \Illuminate\Support\Facades\Session::get('member') ?>
<div class="other_top_nav">
    <div class="ot_nav_box">
        <div class="ot_nav_logo"><a href="/"><img src="{{asset('/static/banner/logo.png')}}" border="0"></a></div>
        <div class="ot_nav_sub">
        </div>
        <div class="ot_nav_link ">
            <ul class="link_gray6 nowrap">
                <li class="on_li J_hoverbut @if(isSet($action)&&$action['uses'] == "App\Http\Controllers\Home\IndexController@index")select @endif">
                    <a href="{{url('/')}}">首页</a>
                </li>
                <li class="on_li J_hoverbut @if(isSet($action)&&$action['uses'] == "App\Http\Controllers\Home\JobController@index")select @endif">
                    <a href="{{url('job')}}">找工作</a></li>
                <li class="on_li J_hoverbut @if(isSet($action)&&$action['uses'] == "App\Http\Controllers\Home\ResumeController@index")select @endif">
                    <a href="{{url('resume')}}">招人才</a></li>
                @if(isSet($member->type) && $member->type == 2)
                    <li class="on_li J_hoverbut @if(isSet($action)&&$action['uses'] == "App\Http\Controllers\Member\HomeController@index")select @endif">
                        <a href="{{url('member')}}">个人中心</a></li>
                @elseif(isSet($member->type) && $member->type == 1)
                    <li class="on_li J_hoverbut "><a href="{{url('company')}}">企业中心</a></li>
                @endif


            </ul>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </div>
</div>